package com.ry.est.util;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * @author ry
 * @since 2021-11-16 11:32
 **/
@Data
@Component
@ConfigurationProperties(prefix = "pay.alipay")
public class AliPayProperties {
    private String appId;
    /**
     * 私钥
     */
    private String merchantPrivateKey;

    /**
     * 公钥
     */
    private String alipayPublicKey;
    /**
     * 异步url
     */
    private String notifyUrl;

    /**
     * 同步url
     */
    private String redirectUrl;

    /**
     * 签名方式
     */
    private String signType;

    /**
     * 字符编码
     */
    private String charset;

    /**
     * 网关url
     */
    private String gatewayUrl;
}
